package com.jdym.back.service.impl;

import com.jdym.back.entity.Approval;
import com.jdym.back.mapper.ApprovalMapper;
import com.jdym.back.service.ApprovalService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 贷款审批 服务实现类
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Service
public class ApprovalServiceImpl extends ServiceImpl<ApprovalMapper, Approval> implements ApprovalService {
    @Autowired
    ApprovalMapper approvalMapper;

    @Override
    public Approval selectApproval(int id) {
        return approvalMapper.selectApproval(id);
    }
}
